<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		article{
			width: 500px;
			height: 200px;
			margin:0 auto;
			background-color: #ccc
		}
		article div{
			width: 100px;
			height: 100px;
			background-color: red;
			margin:10px;
			float: left;
		}
		/*div:last-child{
			float: right;
		}*/

		p{
			width: 100px;
			height: 100px;
			background-color: blue;
			margin:10px;
			color: #fff
		}

		h1{
			clear: left;
		}
		
		section::after{
			content: '';
			display: block;
			clear: left;
		}
		
	</style>
</head>
<body>
	<article>
		<section>
			<div>div1</div>
			<div>div2</div>
			<div class="three">div3</div>
		</section>

		
		<p>p1</p>
		<p>p2</p>
	</article>
</body>
</html>





